package com.sinosoft.dsp.platform.manager;

import java.io.Serializable;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;

import com.sinosoft.dsp.platform.action.SingletonSceneType;
import com.sinosoft.dsp.system.core.log.Log;

@ManagedBean(name = "taskController")
@SessionScoped
public class TaskController implements Serializable {

	private static final long serialVersionUID = 5120618018906058604L;

	private static final Log log = Log.getLog(TaskController.class.getName());

	private String rerender;

	@PostConstruct
	public void init() {
		rerender = SingletonSceneType.LOG.getSceneIdString();
	}

	@PreDestroy
	public void destroy() {

	}

	public void action(ActionEvent actionEvent) {

	}

	public String getRerender() {
		return rerender;
	}

	public void setRerender(String rerender) {
		this.rerender = rerender;
	}

}
